var swiper = new Swiper('.banner', {
    pagination: '.swiper-pagination',
    paginationClickable: true,
    spaceBetween: 30,
    centeredSlides: true,
    autoplay: 2000,
    autoplayDisableOnInteraction: false,
    loop:true//循环次数（无限循环）
});

$("#gotop").css("top",window.screen.availHeight/2-100+"px");
	$(".con").scroll(function(){
		if($(".con").scrollTop() >= 300){
			$("#gotop").fadeIn(300);
		}else{
			$("#gotop").fadeOut(300);
		}
	});
$('#gotop').click(function(){$('.con').animate({scrollTop: "0px"},800);});